using System;

namespace Crainiate.Data.Persistence.Providers
{
    public class ContextException : System.Exception
    {
        public ContextException(string message): base(message)
        { }
        public ContextException(string message, Exception exception): base(message, exception)
        { }
    }

    public class CommandException : System.Exception
    {
        public CommandException(string message): base(message)
        { }

        public CommandException(string message, Exception exception): base(message, exception)
        { }
    }	

	public class FormatterException : System.Exception 
	{
		public FormatterException(string message) : base(message)
		{ }
	}

    public class DeploymentException : System.Exception
    {
        public DeploymentException(string message): base(message)
        { }
        public DeploymentException(string message, Exception exception): base(message, exception)
        { }
    }

    public class TypeDeploymentException : System.Exception
    {
        public TypeDeploymentException(string message): base(message)
        { }
        public TypeDeploymentException(string message, Exception exception): base(message, exception)
        { }
    }
}
